<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://displaytag.sf.net" prefix="display"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>

<SCRIPT LANGUAGE="JavaScript">
<!--

<!-- Begin
function Check(chk)
{
if(document.form.Check_ctr.checked==true){
for (i = 0; i < chk.length; i++)
chk[i].checked = true ;
}else{
for (i = 0; i < chk.length; i++)
chk[i].checked = false ;
}
}

// End -->
</script>

<table width="100%" border="0" cellspacing="0" cellpadding="0">
	<tr>
		<td>
			<div class="blue-text16" style="margin: 0px 0px 0px 0px">
				<s:text name="mywantedwatchingOthersitems.title" />
			</div>
			<div class="header-separator-bg" style="margin: 10px 5px 17px 0px"></div>
			<div style="margin: 0px 0px 12px 0px">
				<table width="100%" border="0" cellspacing="0" cellpadding="0">
						<tr>
							<td width="100%">
								<table width="100%" cellpadding="0" cellspacing="0" class="filepc">
									<tr>
										<td colspan="9">
											<table width="100%">
												<tr>
													<td width="5%" align="center" valign="top" class="grid-header-bg grid-header-text">
																<input type="checkbox" name="Check_ctr" value="yes" onchange="Check(document.form.check_list)" />
															</td>
															<td width="10%" align="center" valign="top"
																class="grid-header-bg grid-header-text">
																<s:text name="photo" />
															</td>
															<td align="center" width="30%" valign="top"
																class="grid-header-bg grid-header-text">
																<a href="">Title </a>
															</td>
															<td align="center" width="5%" valign="top"
																class="grid-header-bg grid-header-text">
																Quantity
															</td>
															<td align="center" width="15%" valign="top"
																class="grid-header-bg grid-header-text">
																Shipping cost
															</td>
															<td align="center" width="10%" valign="top"
																class="grid-header-bg grid-header-text">
																Price
															</td>
															<td align="center" width="10%" valign="top"
																class="grid-header-bg grid-header-text">
																<a href="">Bids </a>
															</td>
															<td width="20%" align="center" valign="top"
																class="grid-header-bg grid-header-text">
																<a href="">Time left </a>
															</td>
														</tr>
													</table>
													<display:table name="itemsList" cellpadding="0" size="2" style="width: 100%;" cellspacing="1" requestURI="viewSimilarItem.htm" id="row" class="common-text" pagesize="${listingOptions.listingsItemsPerPage}">
														<display:column class="grid-bg common-text">
															<table width="100%">
																<tr>
																	<td width="5%"  align="center" valign="top" class="grid-bg common-text">
																		<input type="checkbox" name="check_list" id="check_list" value="<s:property value="#attr.row.itemId"/>"  />
																	</td>
																	<td width="10%"  align="center" valign="middle"
																		class="grid-bg common-text">
																		<s:if test="#attr.row.thumbImage != null && #attr.row.thumbImage !=''">
																			<a href=""> <img
																			src="servlet/ImageServlet?dto=ItemsDTO&id=<s:property value="#attr.row.itemId"/>"
																				alt="" class="product-border" height="45" width="45">
																		</a>
																		</s:if>
																		<s:else><img src="images/no_image.gif" alt="No Image" height="45" width="45"/></s:else>
																	</td>
																	<td align="center" valign="top" width="30%"
																		class="grid-bg common-text">
																		<a href="showItem.htm?cid=<s:property value="#attr.row.itemId"/>" title="Alienware 05"><font
																			color="#000000"><s:property value="#attr.row.title"/>
																		</font> </a>
																	</td>
																	<td align="center" valign="top" width="5%"
																		class="grid-bg common-text">
																		<a href="showItem.htm" title="Alienware 05"><font
																			color="#000000">
																			<s:property value="#attr.row.quantity"/>
																		</font> </a>
																	</td>
																	<td align="center" valign="top" width="15%"
																		class="grid-bg common-text">
																		<s:property value="#attr.row.currency.symbol" /><s:property value="#attr.row.shipPayment" />
																	</td>
																	<td align="center" valign="top" width="10%"
																		class="grid-bg common-text">
																		<s:property value="#attr.row.currency.symbol" /><s:property value="#attr.row.buyPrice" />
																	</td>
																	<td align="center" valign="top" width="10%"
																		class="grid-bg common-text">
																		<s:property value="#attr.row.bids.bidQty" />
																	</td>
																	<td align="center" valign="top" width="20%"
																		class="grid-bg common-text">
																		<s:date name="#attr.row.endTime" nice="true"/>
																	</td>
																</tr>
															</table>
														</display:column>
													</display:table>
												</tr>
											</table>
		</td>
	</tr>

</table>
<div style="margin: 10px 0px 0px 0px">
	<table width="100%" border="0" cellspacing="0" cellpadding="0">
		<tr>
			<td width="5%" valign="top">
				<table border="0" cellspacing="0" cellpadding="0">
					<tr>
						<td>
							<img src="images/middle/btn-grey-left1.gif" alt=" " width="6"
								height="23" />
						</td>
						<td class="btn-grey-middle1 ">
							<input type="submit" name="Delete" value="Delete"
								class="submit-btn-common" />
						</td>
						<td>
							<img src="images/middle/btn-grey-right1.gif" alt=" " width="6"
								height="23" />
						</td>
					</tr>
				</table>
			</td>
			<td width="5%" valign="top">
				<table border="0" cellspacing="0" cellpadding="0">
					<tr>
						<td>
							<img src="images/middle/btn-grey-left1.gif" alt=" " width="6"
								height="23" />
						</td>
						<td class="btn-grey-middle1 ">
							<input type="submit" name="Compare" value="Compare"
								class="submit-btn-common" />
						</td>
						<td>
							<img src="images/middle/btn-grey-right1.gif" alt=" " width="6"
								height="23" />
						</td>
					</tr>
				</table>
			</td>
			<td valign="top">
				<table border="0" cellspacing="0" cellpadding="0">
					<tr>
						<td><img src="images/middle/btn-grey-left1.gif" alt=" " width="6" height="23" /></td>
						<td class="btn-grey-middle1 "><input type="submit" name="Reset" value="Reset" class="submit-btn-common" /></td>
						<td><img src="images/middle/btn-grey-right1.gif" alt=" " width="6" height="23" /></td>
					</tr>
				</table>
			</td>
			<td align="right" valign="top">
				<div class="common-text" style="margin: 0px 0px 0px 10px"></div>
			</td>
		</tr>
	</table>
</div>